package game.block.blocks.state;

import game.block.entity.MovableEntity;

public abstract class BlockState {
    protected MovableEntity block;

    public BlockState(MovableEntity b) {
        block = b;
        enter();
    }

    public abstract void update(float delta);

    public abstract void enter();

    public abstract void exit();

    public MovableEntity getBlock() {
        return block;
    }

    public void setEntity(MovableEntity block) {
        this.block = block;
    }

    
}
